package com.usian.pojo.poste;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("poste")
public class Poste implements Serializable {
    @TableId(value = "pid",type = IdType.AUTO)
    private Integer pid;

    @TableField("pname")
    private String pname;

    @TableField("depId")
    private Integer depId;
}
